<?php
$aRow = mysql::fetchSql($aResult);
?>
<form id="id_updateInventory_form" name="name_updateInventory_form" method="post" action="<?php echo func::makeUrl('inventory', 'update', $iInventoryId); ?>">
    <div class="div_container">
        <div class="div_left">ID</div>
        <div class="div_right"><?php echo $aRow['inventoryId']; ?></div>
    </div>
    <div class="div_container">
        <div class="div_left">Tên hàng hóa</div>
        <div class="div_right">
            <input name="title" type="text" size="30" value="<?php echo $aRow['title']; ?>" />
        </div>
    </div>
    <div class="div_container">
        <div class="div_left">Giá (ngàn/KG)</div>
        <div class="div_right">
            <input name="price" type="text" size="30" value="<?php echo func::numberFormat($aRow['price']); ?>" />
        </div>
    </div>
    <div class="div_container">
        <div class="div_left">Số lượng (KG)</div>
        <div class="div_right">
            <input name="quantity" type="text" size="30" value="<?php echo func::numberFormat($aRow['quantity']); ?>" />
        </div>
    </div>
    <div class="div_container">
        <div class="div_button"><input name="updateInventoryButton" type="submit" value="Cập nhật" /></div>
    </div>
</form>
